package com.ym.medical.domain.param;

import com.ym.common.annotations.CustomConstraint;
import com.ym.base.enums.FlagEnum;
import com.ym.medical.enums.DeviceTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * APP版本变更记录对象 app_version
 *
 * @author ym
 * @date 2020-08-20
 */
@ApiModel(value = "APP版本变更记录-查询")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class AppVersionQueryParam {

	@ApiModelProperty("01安卓02苹果")
	@CustomConstraint(DeviceTypeEnum.class)
	private Integer terminalType;

	@ApiModelProperty("00不启用01启用")
	@CustomConstraint(FlagEnum.class)
	private String enabled;

	@ApiModelProperty("00不强制01强制")
	@CustomConstraint(FlagEnum.class)
	private String forcedUpdate;

	@ApiModelProperty("ids")
	private Integer[] ids;
}
